TierPricingTable\Addons\GlobalTieredPricing\GlobalPricingRule B

Total Complexity 76
Dependencies 4
Dependents 11
Total lines 559
Lines of code 247
Logical lines of code 115
Comment lines 202
Methods 40
Properties 13

Methods 40

Method Rating Maintainability Complexity Lines of code
_matchRequirements()
A
47 14 35
fromArray()
A
54 8 19
validatePricing()
S
63 5 10
save()
S
55 3 19
build()
S
48 2 32
readPricingRules()
S
66 3 7
asArray()
S
57 1 17
setRegularPrice()
S
79 2 3
isValidPricing()
S
68 2 8
setSalePrice()
S
79 2 3
setMinimum()
S
79 2 3
setPricingType()
S
78 2 3
getPricingRules()
S
71 2 6
setApplyingType()
S
78 2 3
setIncludedUsersRole()
S
81 1 3
matchRequirements()
S
74 1 4
isSuspended()
S
82 1 3
reactivate()
S
81 1 3
suspend()
S
81 1 3
setIsSuspended()
S
80 1 3
setId()
S
81 1 3
getPercentageTieredPricingRules()
S
82 1 3
setPercentageTieredPricingRules()
S
81 1 3
getFixedTieredPricingRules()
S
82 1 3
setIncludedUsers()
S
81 1 3
getIncludedUsers()
S
82 1 3
setIncludedProducts()
S
81 1 3
getIncludedUserRoles()
S
82 1 3
getRegularPrice()
S
82 1 3
getIncludedProducts()
S
82 1 3
setIncludedProductCategories()
S
81 1 3
getIncludedProductCategories()
S
82 1 3
getRuleId()
S
82 1 3
getId()
S
82 1 3
getMinimum()
S
82 1 3
setFixedTieredPricingRules()
S
81 1 3
getApplyingType()
S
82 1 3
getPricingType()
S
82 1 3
getSalePrice()
S
82 1 3
isPurchasable()
S
82 1 3